package com.zhuhjay.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Zhuhjay
 * @since 2023-01-05
 */
@Getter
@Setter
@TableName("file_chunk")
public class FileChunk implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 校验码 md5
     */
    @TableField("identifier")
    private String identifier;

    /**
     * 分块次序
     */
    @TableField("chunk_num")
    private Integer chunkNum;

}
